package Stream;

import java.util.ArrayList;
import java.util.Arrays;

public class StreamDemo4 {
    public static void main(String[] args) {
        int[] arr = {0,1,2,3,4,5,6,7,8,9};

        Arrays.stream(arr).forEach(s-> System.out.println(s));
//    Arrays.stream()
    }
}
